﻿<%@ Page Title="Lịch Diễn" Language="C#" MasterPageFile="~/template.master" AutoEventWireup="true" CodeFile="lichdien.aspx.cs" Inherits="lichdien" %>

<%@ Register Assembly="DevExpress.Web.ASPxEditors.v9.1, Version=9.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dxe" %>

<%@ Register Assembly="DevExpress.Web.ASPxGridView.v9.1, Version=9.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dxwgv" %>

<%@ Register src="SlideChuongTrinhSapChieu.ascx" tagname="SlideChuongTrinhSapChieu" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>

<asp:Content ID="Content2" runat="server" 
    contentplaceholderid="ContentPlaceHolder1">
    <div>
        <uc1:SlideChuongTrinhSapChieu ID="SlideChuongTrinhSapChieu1" runat="server" />
    </div>
    <asp:Label ID="Message" runat="server" Text="Label" Visible="False" CssClass="LichDienMessage alert alert-error"></asp:Label>
    <div class="listChuongTrinh">
        <asp:Repeater ID="rptChuongTrinh" runat="server">
            <ItemTemplate>
                <ul class="thumbnails">
                  <li class="span7">
                    <div href="#" class="thumbnail">
                        <div class="img">
                            <asp:Image ID="Image1" runat="server" 
                        ImageUrl='<%#Eval("ct.hinhanh","images_chuongtrinh/{0}") %>' Height="250px" 
                        Width="200px" CssClass="img-polaroid" />
                        </div>
                      <div class="caption">
                          <h4><asp:Label ID="Label1" runat="server" Text='<%# Eval("ct.tenct") %>'></asp:Label></h4>
                          <div class="infoCT">
                            <div><span class="label label-info">Loại chương trình:</span> <asp:Label ID="Label2" runat="server" Text='<%# Eval("tenLoaiCt.tenloaict") %>'></asp:Label></div>
                            <div><span class="label label-info">Thời lượng:</span> <asp:Label ID="Label3" runat="server" Text='<%# Eval("ct.thoiluong")+" phút" %>'></asp:Label></div>
                            <div><span class="label label-info">Số lượng lịch diễn:</span> <asp:Label ID="Label4" runat="server" Text='<%# Eval("total")%>'></asp:Label></div>
                          </div>
                          <div class="btnDatVe">
                              <asp:Repeater ID="rptLichDien" runat="server"  DataSource='<%# Eval("ld") %>'>
                                    <ItemTemplate>
                                        <div class="btn-group">
                                            <asp:HyperLink runat="server" 
                                            CssClass="btn" Text='<%# Eval("ngaydien","{0:dd/MM/yyyy}") + " " + Eval("giobatdau",@"{0:hh\:mm}")  %>'  
                                            NavigateUrl='<%# Eval("mald","~/datve.aspx?id={0}") %>'></asp:HyperLink>
                                        </div>
                                    </ItemTemplate>
                            </asp:Repeater>
                          </div>
                      </div>
                    </div>
                  </li>
                </ul>
            </ItemTemplate>
        </asp:Repeater>
    </div>
        
    <div>
        <asp:Label ID="paging" runat="server" Text="Label">&gt; &lt;</asp:Label>
    </div>
    
</asp:Content>


